package com.codefish;

/**
 * 简单图形面积计算服务实现类
 *
 * @author codefish
 * @version 1.0
 * @date 2022/06/03 下午 06:47
 */

public class AreaService implements IAreaService {

    @Override
    public double countTriangleArea(double bottom, double height) {
        return bottom * height / 2;
    }

}
